<%-- 
    Document   : index
    Created on : Apr 9, 2011, 7:51:50 AM
    Author     : Setia_Negara
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="style.css" rel="stylesheet" type="text/css" />
        <script src="home.js" type="text/javascript"></script>
        <script src="javascript/ajax.js" type="text/javascript"></script>
        <script src="javascript/basic.js" type="text/javascript"></script>
        <script src="javascript/chat.js" type="text/javascript"></script>
        <link rel="Shortcut Icon" href="favicon.ico" />
        <title>chatOK</title>
    </head>
    <body>
        <div class="header">
            <div class="wrapper">
                <div class="logo">
                    <a href="chatpage.jsp"><img height="65px" alt="logo"  src="images/logo.png" /></a>
                </div>
                <div class="login">
                    <form action="login" method="post">
                        <table cellspacing="0">
                            <tbody>
                                <tr>
                                    <td><label for="username" class="labellogin">username</label></td>
                                    <td><label for="password" class="labellogin">password</label></td>
                                </tr>
                                <tr>
                                    <td><input type="text" name="username" /></td>
                                    <td><input type="password" name="password" /></td>
                                    <td><input type="submit" name="submit" value="Login" class="tombol"/></td>
                                </tr>
                            </tbody>
                        </table>
                    </form>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="main">
            <div class="wrapper">
                <div class="register">
                    <form action="register"  id="register" method="post">
                        <h1>Register</h1>
                        <hr />
                        <label for="fullname">Name</label><span class="cek" id="c_nama"></span>
                        <input type="text" name="fullname" onkeyup="validate (document.getElementById('register'));" onblur="validate (document.getElementById('register'));"/>
                        <label for="username">Username</label><span class="cek" id="c_username"></span>
                        <input type="text" name="username" onkeyup="validate (document.getElementById('register'));" onkeyup="validate (document.getElementById('register'));" onblur="validate (document.getElementById('register'));" />
                        <label for="password">Password</label><span class="cek" id="c_password"></span>
                        <input type="password" name="password" onkeyup="validate (document.getElementById('register'));" onblur="validate (document.getElementById('register'));" />
                        <label for="password">Confirm Password</label><span class="cek" id="c_confirm"></span>
                        <input type="password" name="confirm" onkeyup="validate (document.getElementById('register'));" onblur="validate (document.getElementById('register'));" />
                        <label for="email">Email</label><span class="cek" id="c_email"></span>
                        <input type="text" name="email" onkeyup="validate (document.getElementById('register'));" onblur="validate (document.getElementById('register'));" />
                        <hr />
                        <input  id="regbutton" type="submit" class="tombol" value="Register"/>
                    </form>
                </div>
            </div>
        </div>
        <div class="footer">
            <div class="wrapper">
                Copyright &copy; 2011. ChatOK. Tugas Besar 4 Progin<br/>
                Setia Negara B. Tjaru | Ismail Sunny | Arifin Luthfi Putranto
            </div>
        </div>
    </body>
</html>
